package benchmarks.tpcc.mongo;

import api.Configuration;
import api.Loader;
import api.connection.DBConnection;
import api.connection.ConnectionMongo;
import benchmarks.tpcc.TPCCBenchmark;


public class TPCCBenchMongo extends TPCCBenchmark {
    public TPCCBenchMongo(Configuration config) {
        super(config);
        databaseName = MongoName;
    }

    public DBConnection makeConnection() {
        return new ConnectionMongo(config);
    }

    public Loader makeLoaderImpl() {
        return new TPCCLoaderMongo(config.getScaleFactor());
    }
}
